
available com commands into the wife engine == wife::send command


# STANDARD RETURN FORMAT
# 0=STATUS	bool: 1=ok, 0=error
# 1=VALUE	depends on the command
# 2=ERROR	string with the error message

# get_var "NAME_OF_VARIABLE"
returns the value of given variable on the server

# intday_to_id "INTDAY"
returns converted wife intday to a wife id

# exit "SESSION"
forces wife to exit the script

# log "message" (server side only)
given argument will be put into the servers log window and file


# odbc_connect "dsn" "user" "pass"
connects to odbc source, it return a token for the connection.
if $user is empty no auth is done when connecting to the dsn

# odbc_disconnect "$token"
disconnects to odbc source

# odbc_send "$token" "sql command"
send sql command to odbc source



example:
wife::send exit $SESSION


